package com.purchase.manage.damian;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author oyi46
 * @version 1.0
 * Create by 2023/7/8 12:04
 * 订单总表
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderList {
    private MultipartFile file;

    //订单id
    private Long orderId;

    //订单类别
    private String materialTypeName;

    //询价单id
    private Long quotationId;

    //订单名称
    private String orderName;

    //订单状态
    private String state;

    //采购员名称
    private String purchaseName;

    //采购员id
    private Long purchaseId;

//    中标供应商id
    private Long supplierId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTimeType;
    private String startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTimeType;
    private String endTime;

    //中标价格
    private BigDecimal winningPrice;

//    评价表id
    private Long evaluateId;

    //对接人电话
    private  Long abutmentPhone;

    //供应商名字
    private String supplierName;

    //公司类别 （sql用）
    private String  typeIds;

    //采购员电话
    private String purchasePhone;

    //（商品类）交货时间
    private Date deliveryTimeType;
    private String deliveryTime;
    //（商品类）质保期
    private Date warrantyTimeType;
    private String warrantyTime;
    //(商品类)报价日期
    private Date quotationTimeType;
    private String quotationTime;

    private  int total;
}
